<?php
namespace Admin\Controller;

use Util\AccessController;
/*
 * 有赞接口
 */
class PageModelController extends AccessController {
    public function index(){
        $DL = D('order_view');
        $data = $DL->where()->select();
        $Page = new \Think\NewPage(count($data), 15);
        $show = $Page->show(); // 分页显示输出
        $this->assign('data', $DL->selectUser($map, $Page->firstRow, $Page->listRows, $fields, $order));
        $this->assign('show', $show);
        $this->display();
    }
    public function test(){

    }
}